﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/PageTemplate.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="FrameWork.web.Module.ITMS.Hardware.Servicer.Default" Title="无标题页" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PageBody" runat="server">
    <script language="javascript" src="<%=Page.ResolveClientUrl("~/js/date/date.js")%>" charset="utf-8"></script>
    <FrameWorkWebControls:HeadMenuWebControls ID="HeadMenuWebControls1" runat="server"
         HeadOPTxt="服务器信息列表" HeadTitleTxt="服务器管理">
        <FrameWorkWebControls:HeadMenuButtonItem ButtonPopedom="New" ButtonUrl="Manager.aspx?CMD=New"
            ButtonUrlType="Href" ButtonVisible="True" />
    </FrameWorkWebControls:HeadMenuWebControls>
    <FrameWorkWebControls:TabOptionWebControls ID="TabOptionWebControls1" runat="server">
        <FrameWorkWebControls:TabOptionItem ID="TabOptionItem1" runat="server" Tab_Name="列表">
            <asp:GridView ID="GridView1" runat="server">
                <Columns>                    
                    <asp:BoundField DataField="Uid" Visible="False" />          
                    <asp:HyperLinkField DataNavigateUrlFields="Uid" DataNavigateUrlFormatString="Manager.aspx?IDX={0}&amp;CMD=List"
                        DataTextField="AssetsNum" HeaderText="资产编号" />
                    <asp:BoundField HeaderText="品牌" DataField="Brand" />                    
                    <asp:BoundField HeaderText="序列号" DataField="SerialNum" />                    
                    <asp:BoundField HeaderText="型号" DataField="Model" />                    
                    <asp:BoundField HeaderText="过保日期" DataField="OverProTime" DataFormatString="{0:yyyy-MM-dd}" />                    
                    <asp:BoundField HeaderText="机器名" DataField="MachineName" />                    
                    <asp:BoundField HeaderText="Ip地址" DataField="IPaddr" />                    
                    <asp:BoundField HeaderText="使用人" DataField="UserName" />                    
                    <asp:BoundField HeaderText="机架位置" DataField="PCFrameLocation" />
                </Columns>
            </asp:GridView>
            <FrameWorkWebControls:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged">
            </FrameWorkWebControls:AspNetPager>
        </FrameWorkWebControls:TabOptionItem>
        <FrameWorkWebControls:TabOptionItem ID="TabOptionItem2" runat="server" Tab_Name="查询">
            <table width="100%" border="0" cellspacing="1" cellpadding="4" align="center">                                
                <tr>
                    <td class="table_body table_body_NoWidth">
                        品牌</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="Brand" title="请输入品牌~20:" runat="server" CssClass="text_input"></asp:TextBox></td>
                    <td class="table_body table_body_NoWidth">
                        型号</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="Model" title="请输入型号~20:" runat="server" CssClass="text_input"></asp:TextBox></td>
                </tr>                
                <tr>
                    <td class="table_body table_body_NoWidth">
                        资产编号</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="AssetsNum" title="请输入资产编号~12:" runat="server" CssClass="text_input" MaxLength="12"></asp:TextBox></td>
                    <td class="table_body table_body_NoWidth">
                        序列号</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="SerialNum" title="请输入序列号~20:" runat="server" CssClass="text_input" MaxLength="20"></asp:TextBox></td>
                </tr>                                          
                <tr>
                    <td class="table_body table_body_NoWidth">
                        机器名</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="MachineName" title="请输入机器名~20:" runat="server" CssClass="text_input"></asp:TextBox></td>
                    <td class="table_body table_body_NoWidth">
                        Ip地址</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="IPaddr" title="请输入Ip地址~20:" runat="server" CssClass="text_input"></asp:TextBox></td>
                </tr>                  
                <tr>
                    <td class="table_body table_body_NoWidth">
                        使用人</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="UserName" title="请输入使用人~50:" runat="server" CssClass="text_input"></asp:TextBox></td>
                    <td class="table_body table_body_NoWidth">
                        机架位置</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="PCFrameLocation" title="请输入机架位置~50:" runat="server" CssClass="text_input"></asp:TextBox></td>
                </tr>
                <tr>
                    <td class="table_body table_body_NoWidth">
                        过保日期</td>
                    <td class="table_none table_none_NoWidth" colspan="3">
                        <asp:TextBox ID="OverProTimeBeg" title="请选择开始日期~date" onfocus="javascript:HS_setDate(this);" runat="server" CssClass="text_input"></asp:TextBox>&nbsp;
                        至 &nbsp;
                        <asp:TextBox ID="OverProTimeEnd" runat="server" CssClass="text_input"  onfocus="javascript:HS_setDate(this);" title="请选择结束日期~date"></asp:TextBox></td>
                </tr>            
                <tr>
                    <td colspan="4" align="right">
                        <asp:Button ID="Button1" runat="server" CssClass="button_bak" Text="查询" OnClick="Button1_Click" /></td>
                </tr>
            </table>
        </FrameWorkWebControls:TabOptionItem>
    </FrameWorkWebControls:TabOptionWebControls>
</asp:Content>
